<script>
import Son from "@/components/son.vue";

export default {
  name: "Child",
  components: {Son},
  setup() {
    return {}
  }

}
</script>

<template>
  <div>
    <h3>我是子组件,{{ name }},{{ price }}</h3>
    <Son/>
  </div>
</template>

<style scoped>
h3 {
  background-color: deepskyblue;
}
</style>